//
//  ProductOrderModel.h
//  MobileShoppingMall
//
//  Created by 冯传昌 on 2021/5/6.
//  Copyright © 2021 冯传昌. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ProductOrderModel : NSObject


@property (nonatomic,assign) NSInteger ID;//订单ID
@property (nonatomic,assign) float mprice;//价格

@property (nonatomic,copy) NSString *name;//商品名称
@property (nonatomic,copy) NSString *norms;//规格
@property (nonatomic,assign) NSInteger number;//数量
@property (nonatomic,copy) NSString *orderno;//订单号
@property (nonatomic,assign) float payprice;//支付金额
@property (nonatomic,copy) NSString *picture;//商品图片
@property (nonatomic,assign) float price;//市场价
@property (nonatomic,assign) NSInteger productId;//商品id

@property (nonatomic,assign) BOOL outbtn;//是否可以发货
@property (nonatomic,assign) BOOL refundbtn;//是否显示退款
@property (nonatomic,assign) BOOL refundedbtn;//是否显示退款
@property (nonatomic,assign) BOOL rejectbtn;//是否显示退换货
@property (nonatomic,assign) BOOL rejectedbtn;//是否显示退换货
@property (nonatomic,assign) BOOL commentbtn;//是否可以评论
@property (nonatomic,assign) BOOL donebtn;//是否可以完成
@property (nonatomic,assign) BOOL trackbtn;//是否可以查看物流

@property (nonatomic,assign) NSInteger skuId;//商品规格id
@property (nonatomic,assign) NSInteger state;//状态
@property (nonatomic,copy) NSString *status;//状态 文字描述
@property (nonatomic,assign) NSInteger tbprice;//价格 TB
@property (nonatomic,copy) NSString *trackno;//物流号

@property (nonatomic,assign) NSInteger totaltbprice;//总价格 TB


@property (nonatomic,copy) NSString *company;//供应商
@property (nonatomic,copy) NSString *logo;//供应商logo
@property (nonatomic,assign) NSInteger memberId;//供应商id


+(ProductOrderModel *)paraWithDict:(NSDictionary *)dict;


@end

NS_ASSUME_NONNULL_END
